home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 April: Mac OS SDK / Dev.CD Apr 96 SDK / Dev.CD Apr 96 SDK1.toast / Development Kits (Disc 1) / OpenDoc Development Framework / DU Folder / Talker / Sources / Include / TalkerCmd.h < prev    next >
Encoding:
Text File  |  1995-10-11  |  1.2 KB  |  43 lines  |  [TEXT/MPS ]

  1. //    Copyright © 1995 Apple Computer. All rights reserved.
  2. //    Release Version:    $ 1.0d11 $
  3.  
  4. #ifndef TALKERCMD_H
  5. #define TALKERCMD_H
  6.  
  7. //==========================================================
  8. #ifndef FWCMD_H
  9. #include "FWCmd.h"            // FW_CCommand
  10. #endif
  11.  
  12. #ifndef FWMNUITM_H
  13.     #include "FWMnuItm.h"    // FW_kFirstUserCommandID
  14. #endif 
  15.  
  16. //==========================================================
  17. const ODCommandID cFasterCmdID    = FW_kFirstUserCommandID;
  18. const ODCommandID cSlowerCmdID    = FW_kFirstUserCommandID + 1;
  19.  
  20. //==========================================================
  21. class FW_CLASS_ATTR DevUniv_STalker;
  22.  
  23. //==========================================================
  24. class FW_CLASS_ATTR CTalkerCommand : public FW_CCommand
  25. {
  26. public:
  27.     FW_DECLARE_CLASS
  28.                     CTalkerCommand(Environment* ev, 
  29.                                     ODCommandID id,
  30.                                     FW_CFrame* frame,
  31.                                     DevUniv_STalker* talker);
  32.     virtual         ~CTalkerCommand();
  33. protected:
  34.     // overrides
  35.     virtual void     DoIt(Environment* ev);
  36.     virtual void     UndoIt(Environment* ev);
  37.     virtual void     RedoIt(Environment* ev);
  38. private:
  39.     DevUniv_STalker*    fSOMTalker;    // speech synthesis SOM object     
  40. };
  41.  
  42. //==========================================================
  43. #endif